<script>

import FinishedProductNonConformanceList from './FinishedProductNonConformanceList.vue'
import InventoryCountList from '@views/wms/inventory-count/InventoryCountList.vue'

export default {
  // 成品不合格处理单
  name: 'FinishedProductNonConformance',
  components: { InventoryCountList, FinishedProductNonConformanceList },
  data() {
    return {
      activeKey: 'notGenerated'
    }
  },
  methods: {
    handleChangeTab() {
    }
  }
}
</script>

<template>
  <a-card :bordered="false" class="finished-product-non-conformance-container">
    <!-- 未生成  已审批 -->
    <a-tabs v-model="activeKey" @change="handleChangeTab">
      <a-tab-pane key="notGenerated" tab="未生成">
        <finished-product-non-conformance-list v-if="activeKey==='notGenerated'" :status="0" />
      </a-tab-pane>
      <a-tab-pane key="approved" tab="已审批">
        <finished-product-non-conformance-list v-if="activeKey==='approved'" :status="3" />
      </a-tab-pane>
    </a-tabs>
  </a-card>
</template>

<style scoped>

</style>